
package com.azxc.rapid.plus.user.service.impl;

import com.azxc.rapid.plus.user.entity.UserEntity;
import com.azxc.rapid.plus.user.mapper.UserEntityMapper;
import com.azxc.rapid.plus.user.service.IUserEntityService;
import com.azxc.rapid.plus.user.vo.UserEntityVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * 用户和企业关系表 服务实现类
 *
 * @since 2021-05-25
 */
@Service
public class UserEntityServiceImpl extends ServiceImpl<UserEntityMapper, UserEntity> implements
	IUserEntityService {

  @Override
  public IPage<UserEntityVO> selectUserEntityPage(IPage<UserEntityVO> page,
      UserEntityVO userEntity) {
    return page.setRecords(baseMapper.selectUserEntityPage(page, userEntity));
  }

  @Override
  public void deleteUserEntityVOByIds(Long[] ids) {
    baseMapper.deleteUserEntityVOByIds(ids);
  }

}
